﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_OrgChart : DataObject
    {
        [Column]
        public string EmpID { get { return _EmpID; } set { _EmpID = value; EntityState.FieldChange("EmpID"); } }
        private string _EmpID;
        public static FieldInfo empID = new FieldInfo("m_OrgChart", "EmpID");

        [Column]
        public string DisplayName { get { return _DisplayName; } set { _DisplayName = value; EntityState.FieldChange("DisplayName"); } }
        private string _DisplayName;
        public static FieldInfo displayName = new FieldInfo("m_OrgChart", "DisplayName");

        [Column]
        public string OrgName4 { get { return _OrgName4; } set { _OrgName4 = value; EntityState.FieldChange("OrgName4"); } }
        private string _OrgName4;
        public static FieldInfo orgName4 = new FieldInfo("m_OrgChart", "OrgName4");

        [Column]
        public string OrgName5 { get { return _OrgName5; } set { _OrgName5 = value; EntityState.FieldChange("OrgName5"); } }
        private string _OrgName5;
        public static FieldInfo orgName5 = new FieldInfo("m_OrgChart", "OrgName5");

        [Column]
        public string WinID { get { return _WinID; } set { _WinID = value; EntityState.FieldChange("WinID"); } }
        private string _WinID;
        public static FieldInfo winID = new FieldInfo("m_OrgChart", "WinID");

        [Column]
        public string CEmail { get { return _CEmail; } set { _CEmail = value; EntityState.FieldChange("CEmail"); } }
        private string _CEmail;
        public static FieldInfo cemail = new FieldInfo("m_OrgChart", "CEmail");

        [Column]
        public string TitleEnglish { get { return _TitleEnglish; } set { _TitleEnglish = value; EntityState.FieldChange("TitleEnglish"); } }
        private string _TitleEnglish;
        public static FieldInfo titleEnglish = new FieldInfo("m_OrgChart", "TitleEnglish");

        [Column]
        public string SupervisorEmpID { get { return _SupervisorEmpID; } set { _SupervisorEmpID = value; EntityState.FieldChange("SupervisorEmpID"); } }
        private string _SupervisorEmpID;
        public static FieldInfo supervisorEmpID = new FieldInfo("m_OrgChart", "SupervisorEmpID");

        [Column]
        public string DR2EmpID { get { return _DR2EmpID; } set { _DR2EmpID = value; EntityState.FieldChange("DR2EmpID"); } }
        private string _DR2EmpID;
        public static FieldInfo dr2EmpID = new FieldInfo("m_OrgChart", "DR2EmpID");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_OrgChart", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_OrgChart", "Status");
    }
}
